package com.xydtech.ecard.ecard.service.impl;

import com.xydtech.ecard.ecard.domain.EcardApiShareRecord;
import com.xydtech.ecard.ecard.mapper.EcardShareRecordMapper;
import com.xydtech.ecard.ecard.service.IEcardShareRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 电子名片分享记录Service业务层处理
 *
 * @author busiplat
 * @date 2021-09-14
 */
@Service
public class EcardShareRecordServiceImpl implements IEcardShareRecordService {
    @Autowired
    private EcardShareRecordMapper ecardShareRecordMapper;

    /**
     * 新增电子名片分享记录
     *
     * @param ecardShareRecord 电子名片分享记录
     * @return 结果
     */
    @Override
    public int insertEcardShareRecord(EcardApiShareRecord ecardShareRecord) {
        return ecardShareRecordMapper.insertEcardShareRecord(ecardShareRecord);
    }
}
